/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.shared.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class EarthquakeSecondaryCharacteristics implements Serializable {

	@Id Long id;
	private static final long serialVersionUID = 274443906055990839L;

	private String horizontalShape;
	private String verticalShape;
	private String torsion;
	private String softStory;
	private String shortColumns;
	private String pounding;
	private String URMRetrofit;
	private String ornamentation;
	
	// constants
	public static final String HORIZONTAL = "horizontal shape";
	public static final String VERTICAL = "vertical shape";
	public static final String TORSION = "torsion";
	public static final String SOFTSTORY = "short story";
	public static final String SHORTCOLUMNS = "short columns";
	public static final String POUNDING = "pounding";
	public static final String URMRETROFIT = "URM retrofit";
	public static final String ORNAMENTATION = "ornamentation";
	
	
	public EarthquakeSecondaryCharacteristics()
	{
		
	}

	public String getHorizontalShape() {
		return horizontalShape;
	}

	public void setHorizontalShape(String horizontalShape) {
		this.horizontalShape = horizontalShape;
	}

	public String getOrnamentation() {
		return ornamentation;
	}

	public void setOrnamentation(String ornamentation) {
		this.ornamentation = ornamentation;
	}

	public String getPounding() {
		return pounding;
	}

	public void setPounding(String pounding) {
		this.pounding = pounding;
	}

	public String getShortColumns() {
		return shortColumns;
	}

	public void setShortColumns(String shortColumns) {
		this.shortColumns = shortColumns;
	}

	public String getSoftStory() {
		return softStory;
	}

	public void setSoftStory(String softStory) {
		this.softStory = softStory;
	}

	public String getTorsion() {
		return torsion;
	}

	public void setTorsion(String torsion) {
		this.torsion = torsion;
	}

	public String getURMRetrofit() {
		return URMRetrofit;
	}

	public void setURMRetrofit(String retrofit) {
		URMRetrofit = retrofit;
	}

	public String getVerticalShape() {
		return verticalShape;
	}

	public void setVerticalShape(String verticalShape) {
		this.verticalShape = verticalShape;
	}

	public String toString()
	{
		String str = "";
		str += "[economy";
		str += "[horizontal-shape="+this.horizontalShape+"]";
		str += "[vertical-shape="+this.verticalShape+"]";
		str += "[torsion="+this.torsion+"]";
		str += "[soft-story="+this.softStory+"]";
		str += "[short-columns="+this.shortColumns+"]";
		str += "[pounding="+this.pounding+"]";
		str += "[urm-retrofit="+this.URMRetrofit+"]";
		str += "[ornamentation="+this.ornamentation+"]";
		str += "]";
		return str;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}	
	
}
